package com.example.wxf.myapplication;

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.ListView;

/**
 * Created by wxf on 2016/11/15.
 */

public class MyListViewPage extends ListView
{
	public MyListViewPage(Context context, AttributeSet attrs)
	{
		super(context, attrs);
	}

	@Override
	public boolean onInterceptTouchEvent(MotionEvent ev)
	{
		return MainActivity.onInterceptTouchEvent ? super.onInterceptTouchEvent(ev) : false;
	}
}
